Skip to content

ECOM-27390 add withdrawalRequested to FetchedOrder#559

Merged
n-viktorovich merged 5 commits into
masterfrom
ECOM-27390
Jun 22, 2026
Merged

ECOM-27390 add withdrawalRequested to FetchedOrder#559
n-viktorovich merged 5 commits into
masterfrom
ECOM-27390

Conversation

@n-viktorovich

Copy link
Copy Markdown
Contributor

No description provided.

@n-viktorovich n-viktorovich marked this pull request as draft June 18, 2026 14:20
@n-viktorovich n-viktorovich self-assigned this Jun 18, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new withdrawal indicator field to the FetchedOrder result DTO and updates the test rule suites to account for the new property metadata (nullable + non-updatable). Also adjusts a cart calculation test expectation for handlingFee.

Changes:

  • Add withdrawalRequested nullable Boolean field to FetchedOrder.
  • Update nullable/non-updatable property rule lists to include the new field.
  • Update CartsTest to assert handlingFee is 0.0 (and remove unused assertNull import).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/main/kotlin/com/ecwid/apiclient/v3/dto/order/result/FetchedOrder.kt Adds the new withdrawalRequested field to the fetched order DTO.
src/test/kotlin/com/ecwid/apiclient/v3/rule/nullablepropertyrules/FetchedOrderRules.kt Allows the new field to be nullable in nullable-property rule tests.
src/test/kotlin/com/ecwid/apiclient/v3/rule/NonUpdatablePropertyRules.kt Marks the new field as read-only in non-updatable rule tests.
src/test/kotlin/com/ecwid/apiclient/v3/entity/CartsTest.kt Updates expected handling fee value in calculated order item assertions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@n-viktorovich n-viktorovich changed the title ECOM-27390 add isWithdrawalRequested to FetchedOrder ECOM-27390 add withdrawalRequested to FetchedOrder Jun 22, 2026
@n-viktorovich n-viktorovich requested a review from Copilot June 22, 2026 06:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.

@n-viktorovich n-viktorovich merged commit 1015563 into master Jun 22, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants